package cn.akwangl.design.pattern.behavioral.visitor;

/**
 * 具体元素A类
 *
 * @author youyongkun
 * @date 2021/12/8 21:43
 */
public class ConcreteElementA implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
    public String operationA() {
        return "具体元素A的操作。";
    }
}